<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>new (Table::RTable)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File rtable.rb, line 26</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">width</span>=<span class="ruby-value">135</span>,<span class="ruby-identifier">cell_len</span>=<span class="ruby-value">20</span>,<span class="ruby-identifier">max_cols</span>=<span class="ruby-value">16</span>
    <span class="ruby-ivar">@rows</span> = [{<span class="ruby-identifier">:cols=</span><span class="ruby-operator">&gt;</span>[]}]
    <span class="ruby-ivar">@book</span>=<span class="ruby-keyword kw">nil</span>
    <span class="ruby-ivar">@ansi</span>={}
    <span class="ruby-ivar">@formats</span> = {}
    <span class="ruby-ivar">@cell_len</span> = <span class="ruby-identifier">cell_len</span>
    <span class="ruby-ivar">@max_cols</span> = <span class="ruby-identifier">max_cols</span>
    <span class="ruby-ivar">@defualt_align_method</span> = <span class="ruby-identifier">:ljust</span>
    <span class="ruby-ivar">@def_space</span>=<span class="ruby-value str">&quot; &quot;</span>
    <span class="ruby-ivar">@alias_format</span> = []
    <span class="ruby-ivar">@also</span>={}
    <span class="ruby-ivar">@width</span>=<span class="ruby-identifier">width</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>